import { service as request } from '../../utils/requestIp';


export function useIpApi() {
	return {

		getAllIpStatus: (params?: object) => {
			return request({
				url: '/ipaddress',
				method: 'get',
				params,
			});
		},

		postIpInfo: (data?: object) => {
			return request({
				url: '/ipaddress',
				method: 'post',
				data,
			});
		},

		deleteIpInfo: (params?: object) => {
			return request({
				url: '/ipaddress',
				method: 'delete',
				params,
			});
		}

	};
}



